<?php $this->pageTitle=Yii::app()->name . ' :: ' . Yii::t('crm', 'Login'); ?>
<h3><?=Yii::t('crm', 'Login')?></h3>
<?php echo CHtml::beginForm(); ?>

<?php echo CHtml::errorSummary($form, null, null, array('class' => 'ui-state-highlight ui-corner-all', 'style' => 'padding: 0 .7em;')); ?>
<dl>
    <dt><?=CHtml::activeLabel($form, 'username')?></dt>
    <dd><?=CHtml::activeTextField($form, 'username')?></dd>
    <dd class="description"><?=Yii::t('crm', 'Bitte geben Sie Ihren Nutzernamen an!')?></dd>
    <dt><?=CHtml::activeLabel($form, 'password')?></dt>
    <dd><?=CHtml::activePasswordField($form, 'password')?></dd>
    <dd class="description"><?=Yii::t('crm', 'Bitte geben Sie Ihr Passwort an!')?></dd>
    <dd><?=CHtml::activeLabel($form, 'verifyCode')?></dd>
    <dt><?=CHtml::activeTextField($form,'verifyCode');?></dt>
    <dd><?php $this->widget('CCaptcha')?></dd>
    <dt>&nbsp;</dt>
    <dd><?=CHtml::button(Yii::t('crm', 'Login'), array('type' => 'submit', 'class' => 'ui-button ui-state-default ui-corner-all'))?></dd>
</dl>
<?php echo CHtml::endForm(); ?>